<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'job-info-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">带 <span class="required">*</span> 的为必填项.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'company'); ?>
		<?php echo $form->textField($model,'company',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'company'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'industry'); ?>
		<?php echo $form->textField($model,'industry',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'industry'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'vocation'); ?>
		<?php echo $form->textField($model,'vocation',array('size'=>16,'maxlength'=>16)); ?>
		<?php echo $form->error($model,'vocation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'recruit_num'); ?>
		<?php echo $form->textField($model,'recruit_num',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'recruit_num'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'compensation'); ?>
		<?php echo $form->textField($model,'compensation',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'compensation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'work_address'); ?>
		<?php echo $form->textField($model,'work_address',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'work_address'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'age'); ?>
		<?php echo $form->textField($model,'age',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'age'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sex'); ?>
		<?php echo $form->textField($model,'sex',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'sex'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'job_descriptions'); ?>
		<?php echo $form->textArea($model,'job_descriptions',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'job_descriptions'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? '保存' : '保存'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->